package com.rh.service;

import com.rh.dto.Page;
import com.rh.entity.Subject;

import java.util.List;

public interface SubjectService {
    void addMethod(Subject subject);

    void deleteMethod(Integer subjectId);

    void updateMethod(Subject subject);

    Page getSubjectPage(Integer pageNo,Integer pageSize);

    Subject getMethodAllById(Integer subjectId);
}
